package org.example.shop.order.service;

import org.example.shop.entity.Ware;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("shop-ware")
public interface WareRemoteService {

    @GetMapping("/ware/{wid}")
    Ware findByWid(@PathVariable("wid") Integer wid);
}
